From: Florian Müllner Date: Wed, 21 Aug 2019 17:36:42 +0000 (+0200) Subject: extensionPrefs: Request correct GDK/GTK versions X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~832^2^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5bd295842b3273aa8928315145d35737e6eed181;p=gnome-shell.git extensionPrefs: Request correct GDK/GTK versions gjs no longer has an implicit dependency on GTK 3.0, so without requesting an explicit version, we will get the highest available. Our code isn't GTK-4 ready, so request 3.0 explicitly. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/686 --- diff --git a/js/extensionPrefs/main.js b/js/extensionPrefs/main.js index d8c51bfa5..4125605b9 100644 --- a/js/extensionPrefs/main.js +++ b/js/extensionPrefs/main.js @@ -1,4 +1,7 @@ /* exported main */ +imports.gi.versions.Gdk = '3.0'; +imports.gi.versions.Gtk = '3.0'; + const Gettext = imports.gettext; const { Gdk, GLib, Gio, GObject, Gtk, Pango } = imports.gi; const Format = imports.format;